package com.ailanyin.modules.file.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 文件
 *
 * @author ailanyin
 * @version 1.0
 * @since 2022-09-22 04:20:28
 */
@Data
public class SysFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "文件ID")
    @Excel(name = "文件ID" , width = 20)
    private Long fileId;

    @ApiModelProperty(value = "文件名")
    @Excel(name = "文件名" , width = 20)
    private String fileName;

    @ApiModelProperty(value = "文件类型")
    @Excel(name = "文件类型" , width = 20)
    private String fileType;

    @ApiModelProperty(value = "媒体类型")
    @Excel(name = "媒体类型" , width = 20)
    private String mimeType;

    @ApiModelProperty(value = "存放目录")
    @Excel(name = "存放目录" , width = 20)
    private String inDirectory;

    @ApiModelProperty(value = "下载链接")
    @Excel(name = "下载链接" , width = 20)
    private String downloadUrl;

    @ApiModelProperty(value = "状态(0->正常,1->禁止下载,2->完全禁止)")
    @Excel(name = "状态(0->正常,1->禁止下载,2->完全禁止)" , width = 20)
    private String status;

    @ApiModelProperty(value = "上传时间")
    @Excel(name = "上传时间" , format = "yyyy-MM-dd HH:mm:ss" , width = 30)
    private Date uploadTime;

    @ApiModelProperty(value = "上传人")
    @Excel(name = "上传人" , width = 20)
    private String uploadUser;

}
